<?php
class Ordermanager_Data_Updateorder implements Ordermanager_Data_Mainable{
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "UPDATE orders SET status_name = '".$variables['post']['status_name']."' WHERE id='".$variables['post']['id']."'";
        return $this->core_controller_dataoperation->main($variables);
    }
}
